package org.adream.account.model;

import java.io.Serializable;

import org.adream.account.entity.CategoryEntity;

public class CategoryVo extends CategoryEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3016862147328899129L;
	
	private String pidName;

	public CategoryVo(Integer categoryId, String title, Integer pid, String pidName) {
		this.pidName = pidName;
		super.categoryId = categoryId;
		super.pid = pid;
		super.title = title;
	}

	public String getPidName() {
		return pidName;
	}

	public void setPidName(String pidName) {
		this.pidName = pidName;
	}

	@Override
	public String toString() {
		return "CategoryVo [pidName=" + pidName + "]";
	}
}